package media
{
	[Bindable]
	[RemoteClass(alias="com.serverplic.media.Text")]
	public class MediaText
	{
		private var mID:int;
		private var mName:String;
		private var mTitle:String;
		private var mShortText:String;
		private var mText:String;
		private var mPoint:MediaPoint;
		
		public function get id():int
		{
			return mID;
		}
		public function set id(_id:int):void
		{
			mID = _id;
		}
		
		public function get name():String
		{
			return mName;
		}
		public function set name(_name:String):void
		{
			mName = _name;
		}
		
		public function get title():String
		{
			return mTitle;
		}
		public function set title(_title:String):void
		{
			mTitle = _title;
		}
		
		public function get shortText():String
		{
			return mShortText;
		}
		public function set shortText(_shortText:String):void
		{
			mShortText = _shortText;
		}
		
		public function get text():String
		{
			return mText;
		}
		public function set text(_text:String):void
		{
			mText = _text;
		}
		
		public function get point():MediaPoint
		{
			return mPoint;
		}
		public function set point(_point:MediaPoint):void
		{
			mPoint = _point;
		}
		
		public function toString():String
		{
			var txt:String = "Text\n";
			txt += "ID : " + mID + "\n";
			txt += "Name : " + mName + "\n";
			txt += "Title : " + title + "\n";
			txt += "Short Text : " + mShortText+ "\n";
			txt += "Text : " + mText + "\n";
			txt += "Parent Point name : " + mPoint.name + "\n";
			return txt;
		}
	}
}